/*
 * search_dialog.h
 *
 *  Created on: 29.06.2013
 *      Author: SpirTanol
 */

#ifndef SEARCH_DIALOG_H_
#define SEARCH_DIALOG_H_

#include <QDialog>

class QPushButton;
class QLabel;
class QComboBox;

class SearchDialog : public QDialog
{
	Q_OBJECT

	// UI
	QPushButton *oBtnOk;
	QPushButton *oBtnCancel;
	QComboBox *oComboFormat;
	QComboBox *oComboAddr;

public:
	SearchDialog(QWidget *parent = 0);
	~SearchDialog();

	int format() const;
	int addr() const;

private:
	void createUI();
	void connectSlots();
};

#endif /* SEARCH_DIALOG_H_ */
